package polymorphic.Class.staticFieldsAndStaticMethods;

public class Person {

    // TODO

    public static int count;
    String name;

    public Person(String name) {
        this.name = name;
        count++;
    }

    public static int getCount() {
        return count;
    }

}
